home *** CD-ROM | disk | FTP | other *** search
- Path: shellx.best.com!not-for-mail
- From: smurman@shellx.best.com (Scott Murman)
- Newsgroups: comp.lang.c++
- Subject: ANNOUNCE: Drat-0.1, a C++ interface to curses
- Date: 23 Jan 1996 23:57:02 -0800
- Organization: Best Internet Communications
- Message-ID: <4e4ooe$bl2@shellx.best.com>
- NNTP-Posting-Host: shellx.best.com
-
- Drat provides an Object-Oriented interface to the curses library
- written in C++. Drat is intended to allow OO programmers to quickly
- develop curses-based user interfaces, either before developing
- more sophisticated graphical UI, or as an additional feature of
- advanced interactive programs.
-
- Drat includes form-based classes to handle some common interfaces
- including menus, input forms, and output forms. These classes allow
- callbacks to be registered with form items, similar to the way in
- which X-Windows programs can register callbacks or event-handlers.
- This allows the data and methods associated with input processing to
- be encapsulated within a class. For example,
-
- menu->AddEntry("Up one level", "u", UpTreeCallback);
- menu->AddEntry("Save file", "s", SaveCallback);
- menu->AddEntry("Quit", "q", QuitCallback);
-
- would define a short menu, the input characters required to activate
- each menu entry, and the method to be invoked when the menu entry is
- chosen.
-
- For more information see http://www.best.com/~smurman/Drat
-
- Scott <smurman@best.com>
-